/*
 * 版权所有 (C) 2015 知启蒙(ZHIQIM) 保留所有权利。
 * 
 * 欢迎到知启蒙网站（https://www.zhiqim.com）购买正版软件，知启蒙还提供许多开源框架和软件。
 * 
 * 1、本软件产品所有源代码受《中华人民共和国著作权法》和其他有关法律、法规的保护，其所有知识产权归湖南知启蒙科技有限公司所有；
 * 2、禁止复制和修改。不得复制修改、翻译或改编本软件所有源代码，或者基于本软件产品创作衍生作品；
 * 3、禁止进行逆向工程。不得对本软件的源代码进行逆向工程、反编译或试图以其他方式发现软件的源代码；
 * 4、个别授权：如需进行商业性的销售、复制、分发，包括但不限于软件销售、预装、捆绑等，必须获得知启蒙的书面授权和许可；
 * 5、保留权利：本注释未明示授权的其他一切权利仍归知启蒙所有，任何人使用其他权利时必须获得知启蒙的书面同意。
*/
package net.redxyz.top.dbo.user;

import java.io.Serializable;

import org.zhiqim.kernel.annotation.AnAlias;
import org.zhiqim.kernel.annotation.AnNew;
import org.zhiqim.kernel.json.Jsons;
import org.zhiqim.orm.annotation.*;

/**
 * 客户订购统计表 对应表《USER_ORDER_STAT》
 */
@AnAlias("UserOrderStat")
@AnNew
@AnTable(table="USER_ORDER_STAT", key="DAY_CODE", type="InnoDB")
public class UserOrderStat implements Serializable
{
    private static final long serialVersionUID = 1L;

    @AnTableField(column="DAY_CODE", type="string,10,char", notNull=true)    private String dayCode;    //1.格式，yyyy-MM-dd
    @AnTableField(column="ORDER_NUM", type="int", notNull=true)    private int orderNum;    //2.当日订单总数，=ORDER_FREE_NUM+ORDER_PAY_NUM
    @AnTableField(column="ORDER_NEW_NUM", type="int", notNull=true)    private int orderNewNum;    //3.当日新订订单数
    @AnTableField(column="ORDER_CONTINUE_NUM", type="int", notNull=true)    private int orderContinueNum;    //4.当日续订订单数
    @AnTableField(column="ORDER_UPGRADE_NUM", type="int", notNull=true)    private int orderUpgradeNum;    //5.当日升级订单数
    @AnTableField(column="ORDER_BO_CONTINUE_NUM", type="int", notNull=true)    private int orderBoContinueNum;    //6.当日后台续订订单数
    @AnTableField(column="ORDER_BO_GIFT_NUM", type="int", notNull=true)    private int orderBoGiftNum;    //7.当日后台赠送订单数
    @AnTableField(column="ORDER_FREE_NUM", type="int", notNull=true)    private int orderFreeNum;    //8.当日免费订单总数
    @AnTableField(column="ORDER_PAY_NUM", type="int", notNull=true)    private int orderPayNum;    //9.当日付费订单总数
    @AnTableField(column="ORDER_PAY_STD_NUM", type="int", notNull=true)    private int orderPayStdNum;    //10.当日付费标准版数,version_no>=2 && < 8 并且 TOTAL_PAY_FEE > 0
    @AnTableField(column="ORDER_PAY_VIP_NUM", type="int", notNull=true)    private int orderPayVipNum;    //11.当日付费尊享版数,version_no>=8 并且 TOTAL_PAY_FEE > 0
    @AnTableField(column="ORDER_PAY_FEE", type="int", notNull=true)    private int orderPayFee;    //12.当日付费总金额
    @AnTableField(column="ORDER_PAY_STD_FEE", type="int", notNull=true)    private int orderPayStdFee;    //13.当日付费标准版金额
    @AnTableField(column="ORDER_PAY_VIP_FEE", type="int", notNull=true)    private int orderPayVipFee;    //14.当日付费尊享版金额
    @AnTableField(column="ORDER_EXP_NUM", type="int", notNull=true)    private int orderExpNum;    //15.当日到期用户总数
    @AnTableField(column="ORDER_EXP_FREE_NUM", type="int", notNull=true)    private int orderExpFreeNum;    //16.当日到期免费订单总数
    @AnTableField(column="ORDER_EXP_STD_NUM", type="int", notNull=true)    private int orderExpStdNum;    //17.当日到期标准版数
    @AnTableField(column="ORDER_EXP_VIP_NUM", type="int", notNull=true)    private int orderExpVipNum;    //18.当日到期尊享版数

    public String toString()
    {
        return Jsons.toString(this);
    }

    public String getDayCode()
    {
        return dayCode;
    }

    public void setDayCode(String dayCode)
    {
        this.dayCode = dayCode;
    }

    public int getOrderNum()
    {
        return orderNum;
    }

    public void setOrderNum(int orderNum)
    {
        this.orderNum = orderNum;
    }

    public int getOrderNewNum()
    {
        return orderNewNum;
    }

    public void setOrderNewNum(int orderNewNum)
    {
        this.orderNewNum = orderNewNum;
    }

    public int getOrderContinueNum()
    {
        return orderContinueNum;
    }

    public void setOrderContinueNum(int orderContinueNum)
    {
        this.orderContinueNum = orderContinueNum;
    }

    public int getOrderUpgradeNum()
    {
        return orderUpgradeNum;
    }

    public void setOrderUpgradeNum(int orderUpgradeNum)
    {
        this.orderUpgradeNum = orderUpgradeNum;
    }

    public int getOrderBoContinueNum()
    {
        return orderBoContinueNum;
    }

    public void setOrderBoContinueNum(int orderBoContinueNum)
    {
        this.orderBoContinueNum = orderBoContinueNum;
    }

    public int getOrderBoGiftNum()
    {
        return orderBoGiftNum;
    }

    public void setOrderBoGiftNum(int orderBoGiftNum)
    {
        this.orderBoGiftNum = orderBoGiftNum;
    }

    public int getOrderFreeNum()
    {
        return orderFreeNum;
    }

    public void setOrderFreeNum(int orderFreeNum)
    {
        this.orderFreeNum = orderFreeNum;
    }

    public int getOrderPayNum()
    {
        return orderPayNum;
    }

    public void setOrderPayNum(int orderPayNum)
    {
        this.orderPayNum = orderPayNum;
    }

    public int getOrderPayStdNum()
    {
        return orderPayStdNum;
    }

    public void setOrderPayStdNum(int orderPayStdNum)
    {
        this.orderPayStdNum = orderPayStdNum;
    }

    public int getOrderPayVipNum()
    {
        return orderPayVipNum;
    }

    public void setOrderPayVipNum(int orderPayVipNum)
    {
        this.orderPayVipNum = orderPayVipNum;
    }

    public int getOrderPayFee()
    {
        return orderPayFee;
    }

    public void setOrderPayFee(int orderPayFee)
    {
        this.orderPayFee = orderPayFee;
    }

    public int getOrderPayStdFee()
    {
        return orderPayStdFee;
    }

    public void setOrderPayStdFee(int orderPayStdFee)
    {
        this.orderPayStdFee = orderPayStdFee;
    }

    public int getOrderPayVipFee()
    {
        return orderPayVipFee;
    }

    public void setOrderPayVipFee(int orderPayVipFee)
    {
        this.orderPayVipFee = orderPayVipFee;
    }

    public int getOrderExpNum()
    {
        return orderExpNum;
    }

    public void setOrderExpNum(int orderExpNum)
    {
        this.orderExpNum = orderExpNum;
    }

    public int getOrderExpFreeNum()
    {
        return orderExpFreeNum;
    }

    public void setOrderExpFreeNum(int orderExpFreeNum)
    {
        this.orderExpFreeNum = orderExpFreeNum;
    }

    public int getOrderExpStdNum()
    {
        return orderExpStdNum;
    }

    public void setOrderExpStdNum(int orderExpStdNum)
    {
        this.orderExpStdNum = orderExpStdNum;
    }

    public int getOrderExpVipNum()
    {
        return orderExpVipNum;
    }

    public void setOrderExpVipNum(int orderExpVipNum)
    {
        this.orderExpVipNum = orderExpVipNum;
    }

}
